﻿// <copyright file="Key.cs" company="SharpSTS">
// Copyright (c) 2007, 2008 All Right Reserved, http://sharpsts.com/
//
// This source is subject to the Microsoft Permissive License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// </copyright>
// <author>Microsoft/ Barry Dorrans</author>
// <date>2008-06-20</date>
// <summary>A class for representing the name/value pair of an INI file setting.</summary>

namespace SharpSTS.CardWriter
{
    /// <summary>
    /// A class for representing the name/value pair of an INI file setting
    /// </summary>
    internal sealed class Key
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Key"/> class.
        /// </summary>
        /// <param name="keyName">Name of the key.</param>
        /// <param name="value">The value.</param>
        public Key(string keyName, string value)
        {
            this.Name = keyName;
            this.Value = value;
        }

        /// <summary>
        /// Gets the name of the INI setting.
        /// </summary>
        internal string Name
        {
            get;
            private set;
        }

        /// <summary>
        /// Gets the value of the INI setting.
        /// </summary>
        internal string Value
        {
            get;
            private set;
        }
    }
}
